/*
  Sample tester code to feed the other utils. 

  Free Software as licensed through the GNU GPL v3
 */

#include <stdio.h>
#include <string.h>

#define ROSTER_LIMIT 3

int main(int argc, char* argv[])
{
    char* roster[ROSTER_LIMIT];

    char dest[15] = "hattie ";
    char* two = "cat";
    strcat(dest, two);
    printf("The string is %s\n", dest);

    for (int i = 0; i < ROSTER_LIMIT; i++) {
        char buffer[10] = "";
        strcat(buffer, "banana");
        roster[i] = buffer;
    }

    printf("The roster's members are:\n");

    for (int i = 0; i < ROSTER_LIMIT; i++) {
        printf(" - %s (%d)\n", roster[i], (i+1));
    }

    return 0;
}
